import { lazy } from "react"

let routes = [
    {
        path: "/layout",
        component: lazy(() => import("../pages/layout")),
        meta: {},
        children: [
            {
                path: "/layout/home",
                component: lazy(() => import("../pages/home")),
                meta: { title: "", icon: "" },
                children: []
            }, {
                path: "/layout/order",
                component: lazy(() => import("../pages/order")),
                meta: { title: "", icon: "" },
                children: []
            }, {
                path: "/layout/department",
                component: lazy(() => import("../pages/department")),
                meta: { title: "", icon: "" },
                children: []
            }, {
                path: "/layout/mine",
                component: lazy(() => import("../pages/mine")),
                meta: { title: "", icon: "" },
                children: []
            }
        ]
    }
]
export default routes